<?php include './connection.php';
if(isset($_GET['id'])){
    $id=$_GET['id'];
    $query1=  mysql_query("delete from students where id='$id'");
    if($query1){
        header('location:index.php');
        exit(0);
    }
}
?>